package com.carsystems.mapper;

import com.carsystems.pojo.Appeal;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AppealMapper {
    //查询全部申诉状态
    List<Appeal> appealList();

    //按appeal_id查询申诉状态
    Appeal selectByPrimaryKey(int appeal_id );

    //增加一条申诉记录
    int addAppeal(Appeal appeal);

    //修改一条申诉记录
    int updateAppeal(Appeal appeal);

    //删除一条申诉记录
    int deleAppeal(int appeal_id);
}
